package cn.core.cs.service.intf;

import cn.core.cs.eo.ZhangHao;
import cn.core.cs.qo.ZhangHaoQO;
import cn.core.cs.vo.ZhangHaoVO;
import cn.core.tool.util.Paging;
import cn.core.tool.util.Param;

import java.util.Collection;

/**
 * 账号 服务接口
 */
public interface IZhangHaoService {

  /**
   * 账号 >>> 保存
   */
  public ZhangHao save(ZhangHao eo) throws Exception;

  /**
   * 账号 >>> 批量保存
   */
  public Collection<ZhangHao> saveBatch(Collection<ZhangHao> eos) throws Exception;

  /**
   * 账号 >>> 修改
   */
  public ZhangHao update(ZhangHao eo) throws Exception;

  /**
   * 账号 >>> 批量修改
   */
  public Collection<ZhangHao> updateBatch(Collection<ZhangHao> eos) throws Exception;

  /**
   * 账号 >>> 删除
   */
  public void remove(ZhangHao eo) throws Exception;

  /**
   * 账号 >>> 批量删除
   */
  public void removeBatch(Collection<ZhangHao> eos) throws Exception;

  /**
   * 账号 >>> 数据量
   */
  public Long count(ZhangHaoQO qo) throws Exception;

  /**
   * 账号 >>> 主键查询
   */
  public ZhangHao pk(ZhangHaoQO qo) throws Exception;

  /**
   * 账号 >>> 查询
   */
  public Collection<ZhangHao> query(ZhangHaoQO qo) throws Exception;

  /**
   * 账号 >>> 分页
   */
  public Paging<ZhangHao> paging(Param<ZhangHaoQO> param) throws Exception;

  /**
   * 账号 >>> 业务数据量
   */
  public Long countVo(ZhangHaoQO qo) throws Exception;

  /**
   * 账号 >>> 业务主键查询
   */
  public ZhangHaoVO pkVo(ZhangHaoQO qo) throws Exception;

  /**
   * 账号 >>> 业务查询
   */
  public Collection<ZhangHaoVO> queryVo(ZhangHaoQO qo) throws Exception;

  /**
   * 账号 >>> 业务分页
   */
  public Paging<ZhangHaoVO> pagingVo(Param<ZhangHaoQO> param) throws Exception;

}
